# ----------------------------------------------------
# 如果不使用国内源，可以使用
# source "https://rubygems.org"
# ----------------------------------------------------
source "https://ruby.taobao.org"

# ----------------------------------------------------
# 常规采用的 grape 稳定版本
# ----------------------------------------------------
gem "grape", "0.14.0"
gem "grape-entity", "0.5.0"

# ----------------------------------------------------
# 在开发环境下，可以支持 CORS
# 但在产品模式下不建议
# ----------------------------------------------------
group :development do
  gem "rack-cors"
end

# ----------------------------------------------------
# 数据库的版本
# ----------------------------------------------------
gem "sequel", "4.28.0"
# ----------------------------------------------------
# 如果采用 sqlite3，仅建议在 development 环境下
# ----------------------------------------------------
group :development, :production do
  gem "sqlite3"
end
# ----------------------------------------------------
# 生产环境下建议使用 pgsql
# ----------------------------------------------------
group :production do
  # gem "sequel_pg", "1.6.13", require: "sequel"
end

# ----------------------------------------------------
# 使用状态机
# ----------------------------------------------------
# gem "state_machine", "1.2.0"


# ----------------------------------------------------
# 运行服务，在开发模式下可采用 shotgun
# ----------------------------------------------------
gem "puma", "2.15.3"
group :development do
  gem "shotgun"
end



gem "jwt"
gem "net-ldap", "0.12.1"
gem "adauth"
